package com.aauedu.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class AdminController {

    @GetMapping("/")
    public String welcome() {
        return "redirect:/welcome";
    }

    @GetMapping(value = {"login"})
    public String login() {
        return "adminLogin";
    }
}
